package org.pine.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author pine
 * @since 2025-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pine_operate_log")
public class OperateLog extends BaseExtendFields<Long> implements Serializable {


    @Serial
    private static final long serialVersionUID = 8245157582071330576L;

    /**
     * 日志id，例如：订单号
     */
    private String logId;

    /**
     * 模块
     */
    private String module;

    /**
     * 操作类型，比如创建、查询
     */
    private String actionType;

    /**
     * 日志内容
     */
    private String content;

    /**
     * 附录
     */
    private String ext;
}
